package com.feng.controller;

import javax.servlet.http.HttpServletRequest;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.feng.service.IUserConfigService;

@Controller
public class UserConfigController {

	@Autowired
	private IUserConfigService userConfigService;
	
	
	/**
	 * 检查用户设置是否同步登录
	 * @param request
	 * @return
	 */
	@ResponseBody
	@RequestMapping("ckUserSync")
	public String ckUserSync(HttpServletRequest request) {
		return userConfigService.ckUserSync(request);
	}
}
